]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Expand AllView
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 21 Feb 2013 23:27:25 +0000 (00:27 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 19 May 2013 21:30:39 +0000 (23:30 +0200)
If the view doesn't fill the available space, content should still
start at the top rather than the center - not least the positioning
code for folder popups assumes that, so set the appropriate expand
flags.

https://bugzilla.gnome.org/show_bug.cgi?id=694371

js/ui/appDisplay.js

index d9c0f08cfd30561e2f9374ea8bbb0b639cb7f8fa..6d23a9ac13829c0bbe8bc3fd261fcd3f231ff03e 100644 (file)
@@ -187,6 +187,9 @@ const AllView = new Lang.Class({
     _init: function() {
         this.parent();
 
+        this._grid.actor.y_align = Clutter.ActorAlign.START;
+        this._grid.actor.y_expand = true;
+
         let box = new St.BoxLayout({ vertical: true });
         this._stack = new St.Widget({ layout_manager: new AllViewLayout() });
         this._stack.add_actor(this._grid.actor);